package commonServer;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import eu.pago.chat.gui.EStatus;
import eu.pago.chat.gui.InfoFriend;

public interface IServer extends Remote {

	public void addUser(String username, String ip) throws RemoteException;

	public List<InfoFriend> populateFriendsList(String username) throws RemoteException;

	public void setStatus(String username, String ip, EStatus status, List<String> friends) throws RemoteException;

	public List<InfoFriend> signIn(String username) throws RemoteException;
}
